<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
     <%@ taglib prefix="s" uri="/struts-tags"%>
   <%
 	String id = request.getParameter("id");
 	String prizename = new String(request.getParameter("prizename").getBytes("ISO-8859-1"), "utf-8");
	String probability = new String(request.getParameter("probability").getBytes("ISO-8859-1"), "utf-8");
	String cjid = new String(request.getParameter("cjid").getBytes("ISO-8859-1"), "utf-8");
	String rank = new String(request.getParameter("rank").getBytes("ISO-8859-1"), "utf-8");
 %>  
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>后台登录-X-admin1.1</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="./css/font.css">
    <link rel="stylesheet" href="./css/xadmin.css">
    <link rel="stylesheet" href="https://cdn.bootcss.com/Swiper/3.4.2/css/swiper.min.css">
    <script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
    <script type="text/javascript" src="https://cdn.bootcss.com/Swiper/3.4.2/js/swiper.jquery.min.js"></script>
    <script src="./lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="./js/xadmin.js"></script>

</head>
<body>
    <!-- 中部开始 -->
    <div class="wrapper">
        <!-- 右侧主体开始 -->
        <div class="page-content">
          <div class="content">
            <!-- 右侧内容框架，更改从这里开始 -->
            <form class="layui-form" action="updateprize">
            
            <div class="layui-form-item">
                    <label for="L_email" class="layui-form-label">
                    </label>
                    <div class="layui-input-inline">
                        <input type="hidden" id="L_email" name="id" required 
                        autocomplete="off" value="<%=id %>" class="layui-input">
                    </div>
                </div>
               
                <div class="layui-form-item">
                    <label for="L_username" class="layui-form-label">
                     	   所属活动编号
                    </label>
                    <div class="layui-input-inline">
                        <input type="text" id="L_username" name="cjid" required lay-verify="required"
                        autocomplete="off" value="<%=cjid %>" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label for="L_username" class="layui-form-label">
                     	   奖品名称
                    </label>
                    <div class="layui-input-inline">
                        <input type="text" id="L_username" name="prizename" required lay-verify="required"
                        autocomplete="off" value="<%=prizename %>" class="layui-input">
                    </div>
                </div>
               <div class="layui-form-item">
                    <label for="L_username" class="layui-form-label">
                     	  奖品中奖概率
                    </label>
                    <div class="layui-input-inline">
                        <input type="text" id="L_username" name="probability" required lay-verify="required"
                        autocomplete="off" value="<%=probability %>" class="layui-input">
                    </div>
                </div>
                 <div class="layui-form-item">
                    <label for="L_username" class="layui-form-label">
                     	 
                    </label>
                    <div class="layui-input-inline">
                        <input type="hidden" id="L_username" name="rank" required lay-verify="required"
                        autocomplete="off" value="<%=rank %>" class="layui-input">
                    </div>
                </div>
               
               
                
                <div class="layui-form-item">
                    <label for="L_sign" class="layui-form-label">
                    </label>
                    <button class="layui-btn" key="set-mine" type="submit" lay-filter="save" lay-submit>
                        保存
                    </button>
                </div>
            </form>
            <!-- 右侧内容框架，更改从这里结束 -->
          </div>
        </div>
        <!-- 右侧主体结束 -->
    </div>
    <!-- 中部结束 -->
</body>
</html>